home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / MiscIfStack.h < prev    next >
Encoding:
Text File  |  1995-07-08  |  847 b   |  33 lines

  1. //
  2. //    MiscIfStack.h -- a simple data container for tracking if/then constructs
  3. //        Written by Don Yacktman Copyright (c) 1995 by Don Yacktman.
  4. //                Version 1.0.  All rights reserved.
  5. //        This notice may not be removed from this source code.
  6. //
  7. //    This object is included in the MiscKit by permission from the author
  8. //    and its use is governed by the MiscKit license, found in the file
  9. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  10. //    for a list of all applicable permissions and restrictions.
  11. //    
  12.  
  13. #import <misckit/misckit.h>
  14.  
  15. @interface MiscIfStack : MiscStack
  16. {
  17. }
  18.  
  19. /*" Set up "*/
  20. - reset;
  21.  
  22. /*" Handling statements "*/
  23. - startIf:(BOOL)isActive;
  24. - startElse;
  25. - endIf;
  26. - (BOOL)currentConditionalIsActive;
  27.  
  28. /*" Error notification "*/
  29. - (void)endWithoutIfError;
  30. - (void)elseWithoutIfError;
  31. - (void)doubleElseIfError;
  32.  
  33. @end